.class public Les/eu$e;
.super Ljava/lang/Object;
.source "Search.java"

# interfaces
.implements Lcom/estrongs/fs/h;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/eu;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "e"
.end annotation


# instance fields
.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private c:Z

.field private d:I

.field private e:Z


# direct methods
.method public constructor <init>(Ljava/lang/String;Z)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Les/eu$e;->c:Z

    .line 3
    invoke-static {p1}, Les/eu;->c(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    iput-object p1, p0, Les/eu$e;->b:Ljava/util/List;

    .line 4
    iput-boolean p2, p0, Les/eu$e;->e:Z

    .line 5
    iget-boolean p1, p0, Les/eu$e;->c:Z

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    .line 6
    :goto_0
    iget-object p2, p0, Les/eu$e;->b:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result p2

    if-ge p1, p2, :cond_0

    .line 7
    iget-object p2, p0, Les/eu$e;->b:Ljava/util/List;

    invoke-interface {p2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p2, p1, v0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 p1, p1, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method


# virtual methods
.method public a()I
    .locals 1

    .line 14
    iget v0, p0, Les/eu$e;->d:I

    return v0
.end method

.method public a(Lcom/estrongs/fs/g;)Z
    .locals 5

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Les/eu$e;->d:I

    .line 2
    iget-boolean v1, p0, Les/eu$e;->c:Z

    const/4 v2, 0x1

    if-eqz v1, :cond_4

    .line 3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object p1

    const/4 v1, 0x0

    .line 4
    :goto_0
    iget-object v3, p0, Les/eu$e;->b:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v1, v3, :cond_2

    .line 5
    iget-object v3, p0, Les/eu$e;->b:Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/CharSequence;

    invoke-virtual {p1, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 6
    iget-boolean v3, p0, Les/eu$e;->e:Z

    if-eqz v3, :cond_0

    .line 7
    iget v3, p0, Les/eu$e;->d:I

    add-int/2addr v3, v2

    iput v3, p0, Les/eu$e;->d:I

    goto :goto_1

    :cond_0
    return v2

    :cond_1
    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 8
    :cond_2
    iget p1, p0, Les/eu$e;->d:I

    if-lez p1, :cond_3

    const/4 v0, 0x1

    :cond_3
    return v0

    :cond_4
    const/4 v1, 0x0

    .line 9
    :goto_2
    iget-object v3, p0, Les/eu$e;->b:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v1, v3, :cond_7

    .line 10
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Les/eu$e;->b:Ljava/util/List;

    invoke-interface {v4, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v3, v4}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_6

    .line 11
    iget-boolean v3, p0, Les/eu$e;->e:Z

    if-eqz v3, :cond_5

    .line 12
    iget v3, p0, Les/eu$e;->d:I

    add-int/2addr v3, v2

    iput v3, p0, Les/eu$e;->d:I

    goto :goto_3

    :cond_5
    return v2

    :cond_6
    :goto_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    .line 13
    :cond_7
    iget p1, p0, Les/eu$e;->d:I

    if-lez p1, :cond_8

    const/4 v0, 0x1

    :cond_8
    return v0
.end method
